package com.hqq.behaviour.iterator;

/**
 * Item
 * Created by heqianqian on 2017/6/17.
 */
public class Item {

    private String name;

    private ItemType itemType;

    public Item(ItemType itemType, String name) {
        this.name = name;
        this.itemType = itemType;
    }

    public ItemType getItemType() {
        return itemType;
    }

    public void setItemType(ItemType itemType) {
        this.itemType = itemType;
    }

    @Override
    public String toString() {
        return name;
    }
}
